home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
12331
/
12331.xpi
/
chrome
/
content
/
aniweather.xul
< prev
next >
Wrap
Extensible Markup Language
|
2009-10-19
|
10KB
|
94 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://aniweather/content/bindings.css" type="text/css"?>
<?xml-stylesheet href="chrome://aniweather/skin/aniweather.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://aniweather/locale/settings.dtd">
<overlay id="aniweather" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" charset="utf-8" src="chrome://aniweather/content/aniweather.js"/>
<statusbar id="status-bar">
<tooltip id="aniweather.statusTooltip" >
<label value="&aniweather.settings.tooltip_title;" style="font-weight:bold;"/>
<label value=" "/>
<label value="&aniweather.settings.tooltip_leftclick;" style="color: red;"/>
<label value="&aniweather.settings.tooltip_rightclick;" />
</tooltip>
<popupset>
<popup id="aniweather-status-context-menu" position="before_end">
<menu id="aniweather_status-graphic-menu" label="&aniweather.settings.graphicreports;" >
<menupopup id="aniweather-status-graphic-popup">
<menuitem oncommand="AniWeatherObj.onGraphic(null, 'alert');" label="&aniweather.settings.alert;" value="13"/>
<menuitem oncommand="AniWeatherObj.onGraphic(null, 'national');" label="&aniweather.settings.national;" value="11"/>
<menuitem oncommand="AniWeatherObj.onGraphic(null, 'vapor');" label="&aniweather.settings.satellite;" value="6"/>
<menuitem oncommand="AniWeatherObj.onGraphic(null, 'radar');" label="&aniweather.settings.radar;" value="7"/>
<menuitem oncommand="AniWeatherObj.onGraphic(null, 'uv');" label="&aniweather.settings.uv;" value="8"/>
<menuitem oncommand="AniWeatherObj.onGraphic(null, 'pop');" label="&aniweather.settings.pop;" value="9"/>
<menuitem oncommand="AniWeatherObj.onGraphic(null, 'high');" label="&aniweather.settings.temperature;" value="10"/>
<menuitem oncommand="AniWeatherObj.onGraphic(null, 'air');" label="&aniweather.settings.air;" value="12"/>
</menupopup>
</menu>
<menu id="aniweather_status-location-menu" label="&aniweather.settings.animated;" >
<menupopup id="aniweather-status-location-popup" onpopupshowing="AniWeatherObj.updateLocationPopup(event);">
<menuitem />
</menupopup>
</menu>
<menu id="aniweather_status-hourly-menu" label="&aniweather.settings.hourly;" >
<menupopup id="aniweather-status-hourly-popup" onpopupshowing="AniWeatherObj.updateLocationPopup(event);">
<menuitem />
</menupopup>
</menu>
<menu id="aniweather_status-10day-menu" label="&aniweather.settings.10days;" >
<menupopup id="aniweather-status-10day-popup" onpopupshowing="AniWeatherObj.updateLocationPopup(event);">
<menuitem />
</menupopup>
</menu>
<menuitem oncommand="AniWeatherObj.updateNow();" label="&aniweather.settings.updatenow;" key="&aniweather.settings.updatenowkey;" value="14"/>
<menuseparator/>
<menuitem oncommand="AniWeatherObj.supportAniWeather();" label="&aniweather.settings.support;" key="&aniweather.settings.supportkey;" value="2"/>
<menuitem oncommand="AniWeatherObj.improveAniWeather();" label="&aniweather.settings.improve;" key="&aniweather.settings.improvekey;" value="3"/>
<menuitem oncommand="AniWeatherObj.visitAniWeather();" label="&aniweather.settings.visit;" key="&aniweather.settings.visitkey;" value="4"/>
<menuitem oncommand="AniWeatherObj.visitTWC();" label="&aniweather.settings.twc;" value="15"/>
<menuitem oncommand="AniWeatherObj.help();" label="&aniweather.settings.help;" key="&aniweather.settings.helpkey;" value="1" />
<menuseparator/>
<menuitem oncommand="AniWeatherObj.setAniWeather();" label="&aniweather.settings.setting;" key="&aniweather.settings.settingkey;" value="5"/>
</popup>
</popupset>
<statusbarpanel id="aniweather_canvas" class="chromeclass-toolbar-additional">
<box id="aniweather_box" orient="horizontal" style="vertical-align:middle;">
<awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.onGraphic(event, 'alert');" style="cursor:pointer; display:none;" id="aniweatherpanel_alert"><image src='chrome://aniweather/skin/alert.png' id="aniweatherstatus_alert" style="padding:0;" /></awcanvas>
<awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.onGraphic(event, 'national');" style="cursor:pointer; display:none;" id="aniweatherpanel_national"><image src='chrome://aniweather/skin/national.png' id="aniweatherstatus_national" style="padding:0;" /></awcanvas>
<awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.onGraphic(event, 'vapor');" style="cursor:pointer; display:none;" id="aniweatherpanel_vapor"><image src='chrome://aniweather/skin/satellite.png' id="aniweatherstatus_satellite" style="padding:0;"/></awcanvas>
<awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.onGraphic(event, 'radar');" style="cursor:pointer; display:none;" id="aniweatherpanel_radar"><image src='chrome://aniweather/skin/radar.png' id="aniweatherstatus_radar" style="padding:0;"/></awcanvas>
<awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.onGraphic(event, 'uv');" style="cursor:pointer; display:none;" id="aniweatherpanel_uv"><image src='chrome://aniweather/skin/uv.png' id="aniweatherstatus_uv" style="padding:0;"/></awcanvas>
<awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.onGraphic(event, 'pop');" style="cursor:pointer; display:none;" id="aniweatherpanel_pop"><image src='chrome://aniweather/skin/pop.png' id="aniweatherstatus_pop" style="padding:0;"/></awcanvas>
<awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.onGraphic(event, 'high');" style="cursor:pointer; display:none;" id="aniweatherpanel_high"><image src='chrome://aniweather/skin/high.png' id="aniweatherstatus_temp" style="padding:0;"/></awcanvas>
<awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.onGraphic(event, 'air');" style="cursor:pointer; display:none;" id="aniweatherpanel_air"><image src='chrome://aniweather/skin/air.png' id="aniweatherstatus_air" style="padding:0;"/></awcanvas>
<awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.getWeatherDetails(event);" style="cursor:pointer;vertical-align:middle; " id="aniweatherpanel_current"><label id="aniweatherlabel_current" value="Now: " style="margin:0px;padding:0px; " /><image src='chrome://aniweather/skin/aniweatherlogo.png' id="aniweatherstatus_current" style="vertical-align:middle; " /><label style="display:none;" id="flagReport" value="" /></awcanvas>
<awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.getWeatherDetails(event);" style="cursor:pointer; display:none;" id="aniweatherpanel_today"><label id="aniweatherlabel_today" value="Today: " style="margin:0px;padding:0px;" /><image src='chrome://aniweather/skin/aniweatherlogo.png' id="aniweatherstatus_today" style="padding:0 2px 0 2px;"/></awcanvas>
<awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.getWeatherDetails(event);" style="cursor:pointer; display:none;" id="aniweatherpanel_2nd"><label id="aniweatherlabel_2nd" value="2nd: " style="margin:0px;padding:0px;" /><image src='chrome://aniweather/skin/aniweatherlogo.png' id="aniweatherstatus_2nd" style="padding:0 2px 0 2px;"/></awcanvas>
<awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.getWeatherDetails(event);" style="cursor:pointer; display:none;" id="aniweatherpanel_3rd"><label id="aniweatherlabel_3rd" value="3rd: " style="margin:0px;padding:0px;" /><image src='chrome://aniweather/skin/aniweatherlogo.png' id="aniweatherstatus_3rd" style="padding:0 2px 0 2px;"/></awcanvas>
<awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.getWeatherDetails(event);" style="cursor:pointer; display:none;" id="aniweatherpanel_4th"><label id="aniweatherlabel_4th" value="4th: " style="margin:0px;padding:0px;" /><image src='chrome://aniweather/skin/aniweatherlogo.png' id="aniweatherstatus_4th" style="padding:0 2px 0 2px;"/></awcanvas>
<awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.getWeatherDetails(event);" style="cursor:pointer; display:none;" id="aniweatherpanel_5th"><label id="aniweatherlabel_5th" value="5th: " style="margin:0px;padding:0px;" /><image src='chrome://aniweather/skin/aniweatherlogo.png' id="aniweatherstatus_5th" style="padding:0 2px 0 2px;"/></awcanvas>
</box>
</statusbarpanel>
</statusbar>
</overlay>